<loop name="categories">
    <table width="100%" cellspacing="0">
        <tr>
            <th colspan="5">{categories.category_name}</th>
        </tr>
        <tr>
            <td class="ex_sh border_right border_left" style="width: 330px;" colspan="2">Forum</td><td class="ex_sh border_right center_text" style="width: 140px;">{l_forum_posts}</td><td class="ex_sh border_right center_text" style="width: 140px;">{l_forum_topics}</td><td class="ex_sh border_right">{l_last_activity}</td>
        </tr>
        {categories.forums}
        <tr>
            <th colspan="5" class="ex_sh" style="text-align: right;font-weight: normal;"></th>
        </tr>
    </table>
    <div class="small_spacer"></div>
<endloop name="categories">
    
    <div class="spacer"></div>
    
    <table width="100%" cellspacing="0">
        <tr>
            <th colspan="2">{l_stats_and_info}</th>
        </tr>
        <tr>
            <td class="ex_sh border_right border_left" colspan="2">{users_online_in_last_minutes}</td>
        </tr>
        <tr class="padder">
            <td class="border_bottom center_text border_left border_right" style="width: 80px;"><img src="./templates/default/icons/users.png"></td>
            <td class="border_right border_bottom">
                <div class="forum_name small">
                    {users_online_count}
                    <hr />
                    Zalogowani: <loop name="users_online"><a href="{users_online.a_user_link}">{users_online.username}</a> <endloop name="users_online"><noloop name="users_online">{l_no_logged_users}<endnoloop name="users_online">
                </div>
            </td>
        </tr>
        
        <tr>
            <td class="ex_sh border_right border_left" colspan="2">{l_stats}</td>
        </tr>
        <tr class="padder">
            <td class="border_bottom center_text border_left border_right" style="width: 80px;"><img src="./templates/default/icons/stats.png"></td>
            <td class="border_right border_bottom">
                <div class="forum_name small">
                    {users_stats}<br />
                    {posts_stats}<br />
                    {most_users}
                </div>
            </td>
        </tr>
    </table>